namespace NAct.Tests.Support
{
	using System;

	public class User
	{
		private readonly DateTime dob;

		public User( string forename, string surname, DateTime dob )
		{
			Forename = forename;
			Surname = surname;
			this.dob = dob;
		}

		public string Forename { get; private set; }
		public string Surname { get; private set; }

		public int Age
		{
			get { return (int) ( ( DateTime.Now - dob ).TotalDays / 365 ); }
		}
	}
}